package com.cunjin.menu.entity;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.context.annotation.Scope;

/**
 * CREATE TABLE `oa_menu_t` (
  `ID` int(111) NOT NULL AUTO_INCREMENT,
  `MENU_NAME` varchar(32) DEFAULT NULL,
  `URL` varchar(255) DEFAULT NULL,
  `FATHER_ID` int(11) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=6002002 DEFAULT CHARSET=utf8;

 * @author zsrt
 *
 */

@Scope("prototype")
@Table(name="cunjin_menu_t")
public class MenuEntity {
	
	@Id
	private Integer id;
	
	private String menuName;
	
	private String url;
	
	private Integer fatherId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getFatherId() {
		return fatherId;
	}

	public void setFatherId(Integer fatherId) {
		this.fatherId = fatherId;
	}


}
